<?#//v.3.1.1
if(!isset($_GET['thepage']) || empty($_GET['thepage']))
	$_GET[thepage]="index.php";
if(!isset($_GET['thestyle']) || empty($_GET['thestyle']))
	$_GET[thestyle]="themes/default/style.css";
$_GET[thepage]=str_replace("..","",htmlspecialchars($_GET[thepage]));
$_GET[thestyle]=str_replace("..","",htmlspecialchars($_GET[thestyle]));
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
        "http://www.w3.org/TR/2000/REC-xhtml1-20000126/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="cs" lang="cs">
<head>
	<meta http-equiv="content-type" content="text/html; charset=iso-8859-2" />
	<title>CSS Editor</title>
	<meta name="copyright" content="pixy@pixy.cz" />
</head>
<frameset frameborder="no" rows="50,*">
	<frame name="navig" src="navig.php?thepage=<?=rawurlencode($_GET[thepage])?>&thestyle=<?=rawurlencode($_GET[thestyle])?>" scrolling="no" noresize="noresize" />
	<frame name="page" src="test.php?thepage=<?=rawurlencode($_GET[thepage])?>&thestyle=<?=rawurlencode($_GET[thestyle])?>&editOn=yes" />
</frameset>
</html>
